{{- $name := .Get 0 }}
{{- $parentID := .Parent.Get 0 | printf "toggle-%s-items" }}
{{- $weightID := printf "%s-weight" $parentID }}
{{- $weight := default 0 (.Page.Store.Get $weightID) }}
{{- .Page.Store.Add $weightID 1 }}
{{- .Page.Store.SetInMap $parentID $name (dict
  "Inner" .Inner
  "Name" $name
  "Weight" $weight) 
-}}
